package com.woniu.punishcomplaintnotice.openfeignclient;

import com.woniu.common.entity.Dog;
import com.woniu.common.entity.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("pet")
@RequestMapping("/pet")
public interface PetOpenfeignClient {
    @GetMapping("/dogInfo")
    public ResponseResult<Dog> selectDogByUserId(int userId);
}
